package trism.field {
	import trism.field.controller.FieldController;
	import trism.field.model.FieldModel;
	import trism.field.view.FieldView;
	import trism.game.model.common.CommonItem;

	import com.samoiloff.framework.AbstractComponent;

	import flash.display.DisplayObject;

	/**
	 * @author Samoiloff  http://samoiloff.com/
	 */
	public class Field extends AbstractComponent {
		public function Field() {
			super();
		}
		
		
		public function init(root:DisplayObject, commonItem:CommonItem):void {
			getModel().init(root, commonItem);
		}
		
		private function getModel() : FieldModel {
			return _model as FieldModel;
		}
		
			
		override protected function getModelClass() : Class {
			return FieldModel;
		}
		
		
		override protected function getViewCls() : Class {
			return FieldView;
		}
		
		
		override protected function getControllerCls() : Class {
			return FieldController;
		}
		
		
	}
}
